provider Basic DELETE /crm/v3/objects/contacts/{contactId}
@utdk/hubspot /crm/v3/objects/contacts/{contactId}
Archive a contact
Delete a contact by ID. Deleted contacts can be restored within 90 days of deletion. Learn more about the [data impacted by contact deletions](https://knowledge.hubspot.com/privacy-and-consent/understand-restorable-and-permanent-contact-deletions) and how to [restore archived records](https://knowledge.hubspot.com/records/restore-deleted-records).
contactId path required
string

Try it

Authentication
Configure credentials for Contacts
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

delete.crm.v3.objects.contacts.contactidArchive
DELETE/crm/v3/objects/contacts/{contactId}
Delete a contact by ID. Deleted contacts can be restored within 90 days of deletion. Learn more about the [data impacted by contact deletions](https://knowledge.hubspot.com/privacy-and-consent/understand-restorable-and-permanent-contact-deletions) and how to [restore archived records](https://knowledge.hubspot.com/records/restore-deleted-records).

Parameters

required

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import hubspot from '@utdk/hubspot';

await hubspot.delete.crm.v3.objects.contacts.contactidArchive()